package com.gacu.viewer.client.rna;

import java.io.Serializable;

public class Nucleotide implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public Nucleotide m_previus;
	public Nucleotide m_next;
	public Nucleotide m_linked;	
	public boolean m_linked_previus;
	public char m_ribose;  // adenine (A), cytosine (C), guanine (G) or uracil (U)
	
	
	public Nucleotide()
	{
		m_previus = null;
		m_next = null;
		m_linked = null;
		m_ribose = ' ';
		m_linked_previus = false;		
	}
	
	public Nucleotide(Nucleotide p, Nucleotide n, Nucleotide l) 
	{
		this();
		m_previus = p;
		m_next = n;
		m_linked = l;		
	}
	
	public Nucleotide(Nucleotide p, Nucleotide n, Nucleotide l, char r) 
	{
		this(p, n, l);
		m_ribose = r;		
	}
	
	public Nucleotide(Nucleotide p, Nucleotide n, Nucleotide l, char r, boolean l_p) 
	{
		this(p, n, l, r);
		m_linked_previus =l_p;		
	}
}
